package cn.com.shadowless.xinning.model.order;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * The type Depart budget order info.
 *
 * @author sHadowLess
 */
@Data
public class DepartBudgetOrderInfo {

    private DataBean data;

    /**
     * The type Data bean.
     */
    @Data
    public static class DataBean {
        /**
         * id : BB20210712001
         * budgetTypeCode : BB
         * version : V4
         * year : 2021
         * departmentCode : 42926f03afb645e198253419c994709b
         * departmentName : 行管部
         * companyName : 合肥新宁供应链管理有限公司
         * orderStatus : BS050
         * orderStatusStr : 审核中
         * createTime : 2021-07-12T15:12:38.097
         * createTimeStr : 2021-07-12
         * createUser : 146140350
         * userName : 周元
         * positionName : 部门负责人
         * userDepartmentName : 行政部
         * totalBudget : 0
         * budgetNoDetailList : []
         */

        private String id;
        private String budgetTypeCode;
        private String version;
        private BigDecimal year;
        private String departmentCode;
        private String departmentName;
        private String companyName;
        private String orderStatus;
        private String orderStatusStr;
        private String createTime;
        private String createTimeStr;
        private String createUser;
        private String userName;
        private String positionName;
        private String userDepartmentName;
        private BigDecimal totalBudget;
        private List<?> budgetNoDetailList;
        private List<BudgetTypeListBean> budgetTypeList;
        private List<HistoryListBean> historyList;

        /**
         * The type Budget type list bean.
         */
        @Data
        public static class BudgetTypeListBean {
            /**
             * id : 0A2D7E8F-B0BC-4B59-AF57-005C81DBB6DF
             * parentId : 0
             * treeId : null
             * budgetTypeName : 收入
             * rank : 1
             * isBudgetItem : false
             * isBudgetItemStr : 否
             * billCode : null
             * remark :
             * createTime : 2020-11-09T09:43:20.807
             * createUser :
             * modifyTime : 2020-11-09T09:46:20.807
             * modifyUser :
             * deleteFlag : false
             * subList : []
             * isBranch : true
             * level : 1
             */

            private String id;
            private String parentId;
            private Object treeId;
            private String budgetTypeName;
            private BigDecimal rank;
            private boolean isBudgetItem;
            private String isBudgetItemStr;
            private Object billCode;
            private String remark;
            private String createTime;
            private String createUser;
            private String modifyTime;
            private String modifyUser;
            private boolean deleteFlag;
            private boolean isBranch;
            private BigDecimal level;
            private List<?> subList;
            private List<BudgetNoDetailListBean> budgetNoDetailList;

            /**
             * The type Budget no detail list bean.
             */
            @Data
            public static class BudgetNoDetailListBean {
                /**
                 * id : 83bdacbfddb54061b1a69db2570d9b3a
                 * budgetNo : BB20210712001
                 * budgetTypeId : 64D4AAEB-D050-407A-88C0-B87BF533D43C
                 * parentId : 0A2D7E8F-B0BC-4B59-AF57-005C81DBB6DF
                 * budgetTypeName : 收入/主营业务收入（不含税）
                 * budgetTypeRemark :
                 * january : 0
                 * february : 0
                 * march : 0
                 * april : 0
                 * may : 0
                 * june : 0
                 * july : 0
                 * august : 0
                 * september : 0
                 * october : 0
                 * november : 0
                 * december : 0
                 * totalBudget : 0
                 * remark :
                 * createTime : 2021-07-12T15:12:38.123
                 * createUser : 146140350
                 * modifyTime : 2021-07-05T10:52:15.057
                 * modifyUser : 146140350
                 * deleteFlag : false
                 * isTotal : false
                 * level : 2
                 */

                private String id;
                private String budgetNo;
                private String budgetTypeId;
                private String parentId;
                private String budgetTypeName;
                private String budgetTypeRemark;
                private BigDecimal january;
                private BigDecimal february;
                private BigDecimal march;
                private BigDecimal april;
                private BigDecimal may;
                private BigDecimal june;
                private BigDecimal july;
                private BigDecimal august;
                private BigDecimal september;
                private BigDecimal october;
                private BigDecimal november;
                private BigDecimal december;
                private BigDecimal totalBudget;
                private String remark;
                private String createTime;
                private String createUser;
                private String modifyTime;
                private String modifyUser;
                private boolean deleteFlag;
                private boolean isTotal;
                private BigDecimal level;

            }
        }

        /**
         * The type History list bean.
         */
        @Data
        public static class HistoryListBean {
            /**
             * id : 582369E69E604F249508D2DF8B08C7EF
             * orderId : BB20210712001
             * checkAccount : 146140350
             * checkAccountUserName : 周元
             * processName : 申请人
             * positionName : 部门负责人
             * departmentName : 行政部
             * seq : 1
             * status : CS010
             * statusStr : 送审
             * remark : null
             * checkTime : 2021-07-12T15:12:41.757
             * checkTimeStr : 2021-07-12 15:12:41
             * checkDate : 2021-07-12
             */

            private String id;
            private String orderId;
            private String checkAccount;
            private String checkAccountUserName;
            private String processName;
            private String positionName;
            private String departmentName;
            private BigDecimal seq;
            private String status;
            private String statusStr;
            private String remark;
            private String checkTime;
            private String checkTimeStr;
            private String checkDate;

        }
    }
}
